package com.bank6677.sync.csm.domain.old;

import java.util.Date;

public class LoanOptLog {
    private Long id;
    private Long applyId;
    private Integer adminId;
    private String logBelong;
    private String remark;
    private Date createDt;
    private Date updateDt;
    private String logType;
    private String refuseReason;

    public String getRefuseReason() {
		return refuseReason;
	}

	public void setRefuseReason(String refuseReason) {
		this.refuseReason = refuseReason;
	}

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getLogBelong() {
        return logBelong;
    }

    public void setLogBelong(String logBelong) {
        this.logBelong = logBelong == null ? null : logBelong.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreateDt() {
        return createDt;
    }

    public void setCreateDt(Date createDt) {
        this.createDt = createDt;
    }

    public Date getUpdateDt() {
        return updateDt;
    }

    public void setUpdateDt(Date updateDt) {
        this.updateDt = updateDt;
    }

    public String getLogType() {
        return logType;
    }

    public void setLogType(String logType) {
        this.logType = logType == null ? null : logType.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (!(that instanceof LoanOptLog)) {
            return false;
        }
        LoanOptLog other = (LoanOptLog) that;
        return this.getId() == null ? other == null : this.getId().equals(other.getId())
            && this.getApplyId() == null ? other == null : this.getApplyId().equals(other.getApplyId())
            && this.getAdminId() == null ? other == null : this.getAdminId().equals(other.getAdminId())
            && this.getLogBelong() == null ? other == null : this.getLogBelong().equals(other.getLogBelong())
            && this.getRemark() == null ? other == null : this.getRemark().equals(other.getRemark())
            && this.getCreateDt() == null ? other == null : this.getCreateDt().equals(other.getCreateDt())
            && this.getUpdateDt() == null ? other == null : this.getUpdateDt().equals(other.getUpdateDt())
            && this.getLogType() == null ? other == null : this.getLogType().equals(other.getLogType());
    }

    @Override
    public int hashCode() {
        int hash = 23;
        if (getId() != null) {
            hash *= getId().hashCode();
        }
        if (getApplyId() != null) {
            hash *= getApplyId().hashCode();
        }
        if (getAdminId() != null) {
            hash *= getAdminId().hashCode();
        }
        if (getLogBelong() != null) {
            hash *= getLogBelong().hashCode();
        }
        if (getRemark() != null) {
            hash *= getRemark().hashCode();
        }
        if (getCreateDt() != null) {
            hash *= getCreateDt().hashCode();
        }
        if (getUpdateDt() != null) {
            hash *= getUpdateDt().hashCode();
        }
        if (getLogType() != null) {
            hash *= getLogType().hashCode();
        }
        return hash;
    }
}